export default [
    {
        path: "user-manager/user-list",
        name: "userList",
        component: () => import("@/components/UserList"),
        meta: {
            crumb: "首页_用户管理_用户列表",
        }
    },
    {
        path: "user-manager/add-user",
        name: "addUser",
        component: () => import("@/components/AddUser"),
        meta: {
            crumb: "首页_用户管理_添加用户"
        }
    },
    {
        path: "user-manager/edit-user/:uid?",
        name: "editUser",
        component: () => import("@/components/EditUser"),
        meta: {
            crumb: "首页_用户管理_编辑用户"
        },
        props: true
    },
    {
        path: "user-manager/assign-role/:uid?",
        name: "assignRole",
        component: () => import("@/components/AssignRole"),
        meta: {
            crumb: "首页_用户管理_分配角色"
        },
        props: true
    },
    {
        path: "/vue-manager/user-manager",
        redirect: {
            name: "userList"
        }
    }
]